package String;

import java.util.Locale;

public class ToUpperCaseDemo {
    public static void main(String[] args) {
        String str="我爱Java";
        String upper=str.toUpperCase();
        System.out.println(upper);
        String lower=str.toLowerCase();
        System.out.println(lower);
    }

}

